@import '../basic/globalVar.scss';
@import '../mixins/index.scss';
@include classNameConnect(dialog__wrapper) {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: auto;
    margin: 0;
    z-index: $--dialog-z-index;
    background-color: rgba($color: #808080, $alpha: 0.5);
    @include classNameConnect(dialog) {
        width: 50%;
        position: relative;
        margin: 0 auto 50px;
        background-color: #fff;
        border-radius: 2px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
        box-sizing: border-box;
        @include el(header) {
            padding: 20px 20px 10px;
            font-size: 18px;
            line-height: 24px;
            color: #303133;
        }
        @include el(header--center) {
            text-align: center;
        }
        @include el(headerbtn) {
            position: absolute;
            right: 20px;
            padding: 0;
            background-color: transparent;
            border: none;
            outline: none;
            cursor: pointer;
            font-size: 16px;
        }
        @include el(body) {
            padding: 30px 20px;
            color: #606266;
            font-size: 14px;
            word-break: break-all;
        }
        @include el(footer) {
            padding: 10px 20px 20px;
            text-align: right;
            box-sizing: border-box;
            .dialog-footer {
                button {
                    margin-right: 15px;
                }
                button:last-child {
                    margin-right: 0px;
                }
            }
        }
        @include el(footer--center) {
            text-align: center;
        }
        @include el(footer--fullscreen) {
            position: absolute;
            right: 20px;
            bottom: 20px;
        }
    }
}

@include classNameConnect(dialog__wrapper--noModal) {
    background-color: rgba($color: #ffffff, $alpha: 0);
}

@include classNameConnect(dialog--fullscreen) {
    margin: 0!important;
    width: 100%!important;
    height: 100%!important;
}